
#include "logreader.h"
#include <iostream>
#include <list>
using namespace std;

int main()
{
	LogReader	logreader;
	list<MatchedLogRec> matches = logreader.readLogs();

	//测试语句
	/*  
	list<MatchedLogRec>::iterator it;
	for(it=matches.begin(); it!=matches.end(); it++)
	{
		cout<<it->logname<<" "<<it->pid<<" "<<it->logintime<<" "<<
			it->logouttime<<" "<<it->durations<<endl;
	}
	*/

	return 0;
}
